package com.chuangjiangx.member.score.dao.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class InMbrScoreStreamExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public InMbrScoreStreamExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("imss.id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("imss.id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("imss.id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("imss.id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("imss.id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("imss.id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("imss.id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("imss.id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("imss.id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("imss.id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("imss.id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("imss.id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("imss.member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("imss.member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(Long value) {
            addCriterion("imss.member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(Long value) {
            addCriterion("imss.member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(Long value) {
            addCriterion("imss.member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("imss.member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(Long value) {
            addCriterion("imss.member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("imss.member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<Long> values) {
            addCriterion("imss.member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<Long> values) {
            addCriterion("imss.member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(Long value1, Long value2) {
            addCriterion("imss.member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("imss.member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("imss.score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("imss.score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(Long value) {
            addCriterion("imss.score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(Long value) {
            addCriterion("imss.score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(Long value) {
            addCriterion("imss.score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(Long value) {
            addCriterion("imss.score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(Long value) {
            addCriterion("imss.score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(Long value) {
            addCriterion("imss.score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<Long> values) {
            addCriterion("imss.score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<Long> values) {
            addCriterion("imss.score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(Long value1, Long value2) {
            addCriterion("imss.score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(Long value1, Long value2) {
            addCriterion("imss.score not between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("imss.type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("imss.type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Byte value) {
            addCriterion("imss.type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Byte value) {
            addCriterion("imss.type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Byte value) {
            addCriterion("imss.type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("imss.type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Byte value) {
            addCriterion("imss.type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Byte value) {
            addCriterion("imss.type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Byte> values) {
            addCriterion("imss.type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Byte> values) {
            addCriterion("imss.type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Byte value1, Byte value2) {
            addCriterion("imss.type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("imss.type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdIsNull() {
            addCriterion("imss.mbr_stored_stream_id is null");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdIsNotNull() {
            addCriterion("imss.mbr_stored_stream_id is not null");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdEqualTo(Long value) {
            addCriterion("imss.mbr_stored_stream_id =", value, "mbrStoredStreamId");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdNotEqualTo(Long value) {
            addCriterion("imss.mbr_stored_stream_id <>", value, "mbrStoredStreamId");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdGreaterThan(Long value) {
            addCriterion("imss.mbr_stored_stream_id >", value, "mbrStoredStreamId");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdGreaterThanOrEqualTo(Long value) {
            addCriterion("imss.mbr_stored_stream_id >=", value, "mbrStoredStreamId");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdLessThan(Long value) {
            addCriterion("imss.mbr_stored_stream_id <", value, "mbrStoredStreamId");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdLessThanOrEqualTo(Long value) {
            addCriterion("imss.mbr_stored_stream_id <=", value, "mbrStoredStreamId");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdIn(List<Long> values) {
            addCriterion("imss.mbr_stored_stream_id in", values, "mbrStoredStreamId");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdNotIn(List<Long> values) {
            addCriterion("imss.mbr_stored_stream_id not in", values, "mbrStoredStreamId");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdBetween(Long value1, Long value2) {
            addCriterion("imss.mbr_stored_stream_id between", value1, value2, "mbrStoredStreamId");
            return (Criteria) this;
        }

        public Criteria andMbrStoredStreamIdNotBetween(Long value1, Long value2) {
            addCriterion("imss.mbr_stored_stream_id not between", value1, value2, "mbrStoredStreamId");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdIsNull() {
            addCriterion("imss.mbr_score_gift_rule_id is null");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdIsNotNull() {
            addCriterion("imss.mbr_score_gift_rule_id is not null");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdEqualTo(Long value) {
            addCriterion("imss.mbr_score_gift_rule_id =", value, "mbrScoreGiftRuleId");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdNotEqualTo(Long value) {
            addCriterion("imss.mbr_score_gift_rule_id <>", value, "mbrScoreGiftRuleId");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdGreaterThan(Long value) {
            addCriterion("imss.mbr_score_gift_rule_id >", value, "mbrScoreGiftRuleId");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdGreaterThanOrEqualTo(Long value) {
            addCriterion("imss.mbr_score_gift_rule_id >=", value, "mbrScoreGiftRuleId");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdLessThan(Long value) {
            addCriterion("imss.mbr_score_gift_rule_id <", value, "mbrScoreGiftRuleId");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdLessThanOrEqualTo(Long value) {
            addCriterion("imss.mbr_score_gift_rule_id <=", value, "mbrScoreGiftRuleId");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdIn(List<Long> values) {
            addCriterion("imss.mbr_score_gift_rule_id in", values, "mbrScoreGiftRuleId");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdNotIn(List<Long> values) {
            addCriterion("imss.mbr_score_gift_rule_id not in", values, "mbrScoreGiftRuleId");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdBetween(Long value1, Long value2) {
            addCriterion("imss.mbr_score_gift_rule_id between", value1, value2, "mbrScoreGiftRuleId");
            return (Criteria) this;
        }

        public Criteria andMbrScoreGiftRuleIdNotBetween(Long value1, Long value2) {
            addCriterion("imss.mbr_score_gift_rule_id not between", value1, value2, "mbrScoreGiftRuleId");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumIsNull() {
            addCriterion("imss.order_refund_num is null");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumIsNotNull() {
            addCriterion("imss.order_refund_num is not null");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumEqualTo(String value) {
            addCriterion("imss.order_refund_num =", value, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumNotEqualTo(String value) {
            addCriterion("imss.order_refund_num <>", value, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumGreaterThan(String value) {
            addCriterion("imss.order_refund_num >", value, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumGreaterThanOrEqualTo(String value) {
            addCriterion("imss.order_refund_num >=", value, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumLessThan(String value) {
            addCriterion("imss.order_refund_num <", value, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumLessThanOrEqualTo(String value) {
            addCriterion("imss.order_refund_num <=", value, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumLike(String value) {
            addCriterion("imss.order_refund_num like", value, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumNotLike(String value) {
            addCriterion("imss.order_refund_num not like", value, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumIn(List<String> values) {
            addCriterion("imss.order_refund_num in", values, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumNotIn(List<String> values) {
            addCriterion("imss.order_refund_num not in", values, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumBetween(String value1, String value2) {
            addCriterion("imss.order_refund_num between", value1, value2, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderRefundNumNotBetween(String value1, String value2) {
            addCriterion("imss.order_refund_num not between", value1, value2, "orderRefundNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumIsNull() {
            addCriterion("imss.order_pay_num is null");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumIsNotNull() {
            addCriterion("imss.order_pay_num is not null");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumEqualTo(String value) {
            addCriterion("imss.order_pay_num =", value, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumNotEqualTo(String value) {
            addCriterion("imss.order_pay_num <>", value, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumGreaterThan(String value) {
            addCriterion("imss.order_pay_num >", value, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumGreaterThanOrEqualTo(String value) {
            addCriterion("imss.order_pay_num >=", value, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumLessThan(String value) {
            addCriterion("imss.order_pay_num <", value, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumLessThanOrEqualTo(String value) {
            addCriterion("imss.order_pay_num <=", value, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumLike(String value) {
            addCriterion("imss.order_pay_num like", value, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumNotLike(String value) {
            addCriterion("imss.order_pay_num not like", value, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumIn(List<String> values) {
            addCriterion("imss.order_pay_num in", values, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumNotIn(List<String> values) {
            addCriterion("imss.order_pay_num not in", values, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumBetween(String value1, String value2) {
            addCriterion("imss.order_pay_num between", value1, value2, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andOrderPayNumNotBetween(String value1, String value2) {
            addCriterion("imss.order_pay_num not between", value1, value2, "orderPayNum");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreIsNull() {
            addCriterion("imss.post_trading_score is null");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreIsNotNull() {
            addCriterion("imss.post_trading_score is not null");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreEqualTo(Long value) {
            addCriterion("imss.post_trading_score =", value, "postTradingScore");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreNotEqualTo(Long value) {
            addCriterion("imss.post_trading_score <>", value, "postTradingScore");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreGreaterThan(Long value) {
            addCriterion("imss.post_trading_score >", value, "postTradingScore");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreGreaterThanOrEqualTo(Long value) {
            addCriterion("imss.post_trading_score >=", value, "postTradingScore");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreLessThan(Long value) {
            addCriterion("imss.post_trading_score <", value, "postTradingScore");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreLessThanOrEqualTo(Long value) {
            addCriterion("imss.post_trading_score <=", value, "postTradingScore");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreIn(List<Long> values) {
            addCriterion("imss.post_trading_score in", values, "postTradingScore");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreNotIn(List<Long> values) {
            addCriterion("imss.post_trading_score not in", values, "postTradingScore");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreBetween(Long value1, Long value2) {
            addCriterion("imss.post_trading_score between", value1, value2, "postTradingScore");
            return (Criteria) this;
        }

        public Criteria andPostTradingScoreNotBetween(Long value1, Long value2) {
            addCriterion("imss.post_trading_score not between", value1, value2, "postTradingScore");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("imss.create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("imss.create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("imss.create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("imss.create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("imss.create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("imss.create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("imss.create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("imss.create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("imss.create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("imss.create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("imss.create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("imss.create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("imss.update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("imss.update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("imss.update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("imss.update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("imss.update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("imss.update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("imss.update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("imss.update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("imss.update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("imss.update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("imss.update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("imss.update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("imss.remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("imss.remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("imss.remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("imss.remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("imss.remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("imss.remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("imss.remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("imss.remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("imss.remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("imss.remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("imss.remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("imss.remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("imss.remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("imss.remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andPayEntryIsNull() {
            addCriterion("imss.pay_entry is null");
            return (Criteria) this;
        }

        public Criteria andPayEntryIsNotNull() {
            addCriterion("imss.pay_entry is not null");
            return (Criteria) this;
        }

        public Criteria andPayEntryEqualTo(Integer value) {
            addCriterion("imss.pay_entry =", value, "payEntry");
            return (Criteria) this;
        }

        public Criteria andPayEntryNotEqualTo(Integer value) {
            addCriterion("imss.pay_entry <>", value, "payEntry");
            return (Criteria) this;
        }

        public Criteria andPayEntryGreaterThan(Integer value) {
            addCriterion("imss.pay_entry >", value, "payEntry");
            return (Criteria) this;
        }

        public Criteria andPayEntryGreaterThanOrEqualTo(Integer value) {
            addCriterion("imss.pay_entry >=", value, "payEntry");
            return (Criteria) this;
        }

        public Criteria andPayEntryLessThan(Integer value) {
            addCriterion("imss.pay_entry <", value, "payEntry");
            return (Criteria) this;
        }

        public Criteria andPayEntryLessThanOrEqualTo(Integer value) {
            addCriterion("imss.pay_entry <=", value, "payEntry");
            return (Criteria) this;
        }

        public Criteria andPayEntryIn(List<Integer> values) {
            addCriterion("imss.pay_entry in", values, "payEntry");
            return (Criteria) this;
        }

        public Criteria andPayEntryNotIn(List<Integer> values) {
            addCriterion("imss.pay_entry not in", values, "payEntry");
            return (Criteria) this;
        }

        public Criteria andPayEntryBetween(Integer value1, Integer value2) {
            addCriterion("imss.pay_entry between", value1, value2, "payEntry");
            return (Criteria) this;
        }

        public Criteria andPayEntryNotBetween(Integer value1, Integer value2) {
            addCriterion("imss.pay_entry not between", value1, value2, "payEntry");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdIsNull() {
            addCriterion("imss.merchant_user_id is null");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdIsNotNull() {
            addCriterion("imss.merchant_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdEqualTo(Long value) {
            addCriterion("imss.merchant_user_id =", value, "merchantUserId");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdNotEqualTo(Long value) {
            addCriterion("imss.merchant_user_id <>", value, "merchantUserId");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdGreaterThan(Long value) {
            addCriterion("imss.merchant_user_id >", value, "merchantUserId");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("imss.merchant_user_id >=", value, "merchantUserId");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdLessThan(Long value) {
            addCriterion("imss.merchant_user_id <", value, "merchantUserId");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdLessThanOrEqualTo(Long value) {
            addCriterion("imss.merchant_user_id <=", value, "merchantUserId");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdIn(List<Long> values) {
            addCriterion("imss.merchant_user_id in", values, "merchantUserId");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdNotIn(List<Long> values) {
            addCriterion("imss.merchant_user_id not in", values, "merchantUserId");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdBetween(Long value1, Long value2) {
            addCriterion("imss.merchant_user_id between", value1, value2, "merchantUserId");
            return (Criteria) this;
        }

        public Criteria andMerchantUserIdNotBetween(Long value1, Long value2) {
            addCriterion("imss.merchant_user_id not between", value1, value2, "merchantUserId");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdIsNull() {
            addCriterion("imss.store_user_id is null");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdIsNotNull() {
            addCriterion("imss.store_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdEqualTo(Long value) {
            addCriterion("imss.store_user_id =", value, "storeUserId");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdNotEqualTo(Long value) {
            addCriterion("imss.store_user_id <>", value, "storeUserId");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdGreaterThan(Long value) {
            addCriterion("imss.store_user_id >", value, "storeUserId");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("imss.store_user_id >=", value, "storeUserId");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdLessThan(Long value) {
            addCriterion("imss.store_user_id <", value, "storeUserId");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdLessThanOrEqualTo(Long value) {
            addCriterion("imss.store_user_id <=", value, "storeUserId");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdIn(List<Long> values) {
            addCriterion("imss.store_user_id in", values, "storeUserId");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdNotIn(List<Long> values) {
            addCriterion("imss.store_user_id not in", values, "storeUserId");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdBetween(Long value1, Long value2) {
            addCriterion("imss.store_user_id between", value1, value2, "storeUserId");
            return (Criteria) this;
        }

        public Criteria andStoreUserIdNotBetween(Long value1, Long value2) {
            addCriterion("imss.store_user_id not between", value1, value2, "storeUserId");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNull() {
            addCriterion("imss.store_id is null");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNotNull() {
            addCriterion("imss.store_id is not null");
            return (Criteria) this;
        }

        public Criteria andStoreIdEqualTo(Long value) {
            addCriterion("imss.store_id =", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotEqualTo(Long value) {
            addCriterion("imss.store_id <>", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThan(Long value) {
            addCriterion("imss.store_id >", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanOrEqualTo(Long value) {
            addCriterion("imss.store_id >=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThan(Long value) {
            addCriterion("imss.store_id <", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanOrEqualTo(Long value) {
            addCriterion("imss.store_id <=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdIn(List<Long> values) {
            addCriterion("imss.store_id in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotIn(List<Long> values) {
            addCriterion("imss.store_id not in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdBetween(Long value1, Long value2) {
            addCriterion("imss.store_id between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotBetween(Long value1, Long value2) {
            addCriterion("imss.store_id not between", value1, value2, "storeId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}